﻿//====================================================================
// Create by Daniel
// Copyright: YunStudio Inc.
// file： YCGallery.cs
// project ：YunCMS
// Build time：2012-09-09
// modify:
// description:
// ===================================================================
using System;
namespace YunCMS.Model
{
	/// <summary>
	///YCGallery Model
	/// </summary>
	[Serializable]
	public class YCGallery
	{
		#region 
		private int _id;
		private string _type = String.Empty;
		private string _description = String.Empty;
		private string _title = String.Empty;
		private int? _categoryid;
		private int? _access;
		private string _lang = String.Empty;
		#endregion
		
		#region 
		///<summary>
		///Constructor
		///</summary>
		public YCGallery()
		{
		}
		///<summary>
		///Constructor
		///</summary>
		public YCGallery
		(
			int id,
			string type,
			string description,
			string title,
			int? categoryid,
			int? access,
			string lang
		)
		{
			_id          = id;
			_type        = type;
			_description = description;
			_title       = title;
			_categoryid  = categoryid;
			_access      = access;
			_lang        = lang;
			
		}
		#endregion
		
		#region 
		
		///<summary>
		///ID
		///</summary>
		public int ID
		{
			get {return _id;}
			set {_id = value;}
		}

		///<summary>
		///Type
		///</summary>
		public string Type
		{
			get {return _type;}
			set {_type = value;}
		}

		///<summary>
		///Description
		///</summary>
		public string Description
		{
			get {return _description;}
			set {_description = value;}
		}

		///<summary>
		///Title
		///</summary>
		public string Title
		{
			get {return _title;}
			set {_title = value;}
		}

		///<summary>
		///CategoryID
		///</summary>
		public int? CategoryID
		{
			get {return _categoryid;}
			set {_categoryid = value;}
		}

		///<summary>
		///Accessable of this item
		///</summary>
		public int? Access
		{
			get {return _access;}
			set {_access = value;}
		}

		///<summary>
		///Lang
		///</summary>
		public string Lang
		{
			get {return _lang;}
			set {_lang = value;}
		}
	
		#endregion	
	}
}



